package com.fmc123.shop.entity ;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fmc123.base.pesistence.BaseEntity;
/**
 * 
 * @desc    goods_type
 * @date    2015/11/14
 */
@Entity
@Table(name = "goods_type" )
public class GoodsType extends BaseEntity {
    
    private static final long serialVersionUID = 1L;

    @Column(name = "PARENT_ID" ,length = 255 ,nullable = false)  
    private String parentId ;
    
    @Column(name = "PARENT_IDS" ,length = 255 ,nullable = false)  
    private String parentIds ;
    
    @Column(name = "NAME" ,length = 100 ,nullable = false)  
    private String name ;
    
    @Column(name = "STATE" ,length = 11)  
    private Long state ;
    public void setParentId (String parentId){
        this.parentId = parentId ;
    }
    public String getParentId (){
        return this.parentId ;
    }
     
    public void setParentIds (String parentIds){
        this.parentIds = parentIds ;
    }
    public String getParentIds (){
        return this.parentIds ;
    }
     
    public void setName (String name){
        this.name = name ;
    }
    public String getName (){
        return this.name ;
    }
     
    public void setState (Long state){
        this.state = state ;
    }
    public Long getState (){
        return this.state ;
    }
     
}